widget: deprecate focus-line-pattern style property
authorCosimo Cecchi <cosimoc@gnome.org>
Sun, 4 May 2014 16:46:11 +0000 (18:46 +0200)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 9 May 2014 18:02:44 +0000 (11:02 -0700)
Nothing in GTK uses it.

gtk/gtkwidget.c

index 437f06313ea2a04bd66106b0f222dcdfe744938e..41c1252ba8fb5b5523024467896f3fa83fea3dd9 100644 (file)
@@ -3463,13 +3463,21 @@ G_GNUC_END_IGNORE_DEPRECATIONS
                                                             P_("Width, in pixels, of the focus indicator line"),
                                                             0, G_MAXINT, 1,
                                                             GTK_PARAM_READABLE));
-
+  /**
+   * GtkWidget:focus-line-pattern:
+   *
+   * The "focus-line-pattern" style property defines the dash pattern used to
+   * draw the focus indicator. The character values are interpreted as pixel
+   * widths of alternating on and off segments of the line.
+   *
+   * Deprecated: 3.14: use the outline-style CSS property instead.
+   */
   gtk_widget_class_install_style_property (klass,
                                           g_param_spec_string ("focus-line-pattern",
                                                                P_("Focus line dash pattern"),
                                                                P_("Dash pattern used to draw the focus indicator. The character values are interpreted as pixel widths of alternating on and off segments of the line."),
                                                                "\1\1",
-                                                               GTK_PARAM_READABLE));
+                                                               GTK_PARAM_READABLE | G_PARAM_DEPRECATED));
   /**
    * GtkWidget:focus-padding:
    *